﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Class_DTO
{
    public class HopDongDTO
    {
        int mahd;

        public int Mahd
        {
            get { return mahd; }
            set { mahd = value; }
        }
        string tenhd;
        public string Tenhd
        {
            get { return tenhd; }
            set { tenhd = value; }
        }
        DateTime ngayky;
        public DateTime Ngayky
        {
            get { return ngayky; }
            set { ngayky = value; }
        }

        int makh;

        public int Makh
        {
            get { return makh; }
            set { makh = value; }
        }
        int manv;

        public int Manv
        {
            get { return manv; }
            set { manv = value; }
        }
        int maqc;

        public int Maqc
        {
            get { return maqc; }
            set { maqc = value; }
        }
        double tongtien;

        public double Tongtien
        {
            get { return tongtien; }
            set { tongtien = value; }
        }

       
        public HopDongDTO(string tenhd, DateTime ngayky, int makh, int manv, int maqc)
        {
            this.Mahd = mahd;
            this.Tenhd = tenhd;
            this.Ngayky = ngayky;
            this.Makh = makh;
            this.Manv = manv;
            this.Maqc = maqc;
           // this.Tongtien = tongtien;
        }
    }
}
